package com.slkj.shilixiaoyuanapp.entity;

/**
 * Created  on 2018-07-16
 *
 * @author 唐开阔
 * @describe 工具-作业历史列表
 */
public class ToolWorkListEntity {

    /**
     * hId : 34
     * className : 2017级2班
     * hType : 作业本
     * endTime : 2018-08-02
     * sendAll : 0
     */

    private int hId;
    private String className;
    private String hType;
    private String endTime;
    //是否发送全部 1已结发送全部
    private int sendAll;
    //是否能提醒，1不能提醒
    private int urge;
    private String shows;

    public int gethId() {
        return hId;
    }

    public void sethId(int hId) {
        this.hId = hId;
    }

    public String gethType() {
        return hType;
    }

    public void sethType(String hType) {
        this.hType = hType;
    }

    public int getUrge() {
        return urge;
    }

    public boolean isUrge(){
        return urge==1;
    }

    public void setUrge(int urge) {
        this.urge = urge;
    }

    public String getShows() {
        return shows;
    }

    public void setShows(String shows) {
        this.shows = shows;
    }

    public int getHId() {
        return hId;
    }

    public void setHId(int hId) {
        this.hId = hId;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getHType() {
        return hType;
    }

    public void setHType(String hType) {
        this.hType = hType;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public int getSendAll() {
        return sendAll;
    }

    public void setSendAll(int sendAll) {
        this.sendAll = sendAll;
    }

    /**
     * 是否能提醒
     * @return
     */
    public boolean isCanTx(){
        return  urge!=1 && sendAll != 1;
    }
}
